package com.sunnyebuy.merchant.po;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * The persistent class for the merchant_level database table.
 * 
 */
@Entity
@Table(name = "merchant_level")
public class MerchantLevel implements Serializable {

	private static final long serialVersionUID = 1764761118211551195L;
	private String merchantLevelId;
	private Timestamp createdTime;
	private int merchantExpendProductNum;
	private BigDecimal merchantLevelCommissionRate;
	private String merchantLevelDesc;
	private String merchantLevelName;
	private BigDecimal merchantLevelSalesAmount;
	private int merchantStoreExpendProductNum;

	public MerchantLevel() {
	}

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "merchant_level_id")
	public String getMerchantLevelId() {
		return this.merchantLevelId;
	}

	public void setMerchantLevelId(String merchantLevelId) {
		this.merchantLevelId = merchantLevelId;
	}

	@Column(name = "created_time")
	public Timestamp getCreatedTime() {
		return this.createdTime;
	}

	public void setCreatedTime(Timestamp createdTime) {
		this.createdTime = createdTime;
	}

	@Column(name = "merchant_expend_product_num")
	public int getMerchantExpendProductNum() {
		return this.merchantExpendProductNum;
	}

	public void setMerchantExpendProductNum(int merchantExpendProductNum) {
		this.merchantExpendProductNum = merchantExpendProductNum;
	}

	@Column(name = "merchant_level_commission_rate")
	public BigDecimal getMerchantLevelCommissionRate() {
		return this.merchantLevelCommissionRate;
	}

	public void setMerchantLevelCommissionRate(BigDecimal merchantLevelCommissionRate) {
		this.merchantLevelCommissionRate = merchantLevelCommissionRate;
	}

	@Column(name = "merchant_level_desc")
	public String getMerchantLevelDesc() {
		return this.merchantLevelDesc;
	}

	public void setMerchantLevelDesc(String merchantLevelDesc) {
		this.merchantLevelDesc = merchantLevelDesc;
	}

	@Column(name = "merchant_level_name")
	public String getMerchantLevelName() {
		return this.merchantLevelName;
	}

	public void setMerchantLevelName(String merchantLevelName) {
		this.merchantLevelName = merchantLevelName;
	}

	@Column(name = "merchant_level_sales_amount")
	public BigDecimal getMerchantLevelSalesAmount() {
		return this.merchantLevelSalesAmount;
	}

	public void setMerchantLevelSalesAmount(BigDecimal merchantLevelSalesAmount) {
		this.merchantLevelSalesAmount = merchantLevelSalesAmount;
	}

	@Column(name = "merchant_store_expend_product_num")
	public int getMerchantStoreExpendProductNum() {
		return this.merchantStoreExpendProductNum;
	}

	public void setMerchantStoreExpendProductNum(int merchantStoreExpendProductNum) {
		this.merchantStoreExpendProductNum = merchantStoreExpendProductNum;
	}

}